home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Micro Dingo 39
/
Micro_Dingo_39_CD2.mdx
/
Themes XP
/
themes
/
Yoshua iTunes
/
QuicktimeMediaPlayer.wmz
/
aqua.js
next >
Wrap
Text File
|
2001-12-10
|
2KB
|
72 lines
function Init()
{
PL.setColumnResizeMode(0, "Stretches");
PL.setColumnResizeMode(1, "AutoSizeData");
}
function OpenPL() {
PLPanel.visible = true;
HidePL.visible = true;
ShowPL.visible = false;
}
function ClosePL() {
PLPanel.visible = false;
ShowPL.visible = true;
HidePL.visible = false;
}
function OnOpenStateChange()
{
if(player.OpenState == osMediaOpen)
{
UpdateMetadata();
}
}
function UpdateMetadata()
{
metadata.value =
player.currentmedia.getiteminfo("author");
if(temp != "")
{
if(metadata.value != "")
{
metadata.value += " -- ";
}
metadata.value += temp;
}
metadata.scrolling = metadata.textWidth>metadata.width;
}
function OpenEQ()
{
sAud.visible = true;
HideEQ.visible = true;
ShowEQ.visible = false;
}
function CloseEQ()
{
sAud.visible = false;
ShowEQ.visible = true;
HideEQ.visible = false;
}
function AdjustAudio()
{
eq.gainLevel1 = bass.value;
eq.gainLevel2 = (8*bass.value + treble.value)/9;
eq.gainLevel3 = (7*bass.value + 2*treble.value)/9;
eq.gainLevel4 = (6*bass.value + 3*treble.value)/9;
eq.gainLevel5 = (5*bass.value + 4*treble.value)/9;
eq.gainLevel6 = (4*bass.value + 5*treble.value)/9;
eq.gainLevel7 = (3*bass.value + 6*treble.value)/9;
eq.gainLevel8 = (2*bass.value + 7*treble.value)/9;
eq.gainLevel9 = ( bass.value + 8*treble.value)/9;
eq.gainLevel10 = treble.value;
}